package org.csu.code.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("profile")
public class Profile {
    @TableId(value = "userId",type = IdType.INPUT)
    private int userId;
    @TableField(value = "favcategory")
    private int favouriteCategoryId;
    @TableField(value = "langpref")
    private String languagePreference;
}
